Optimal. Leaf size=115 \[ -\frac {a^{10}}{x}+45 a^8 b^2 x+60 a^7 b^3 x^2+70 a^6 b^4 x^3+63 a^5 b^5 x^4+42 a^4 b^6 x^5+20 a^3 b^7 x^6+\frac {45}{7} a^2 b^8 x^7+\frac {5}{4} a b^9 x^8+\frac {b^{10} x^9}{9}+10 a^9 b \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {45}
\begin {gather*} -\frac {a^{10}}{x}+10 a^9 b \log (x)+45 a^8 b^2 x+60 a^7 b^3 x^2+70 a^6 b^4 x^3+63 a^5 b^5 x^4+42 a^4 b^6 x^5+20 a^3 b^7 x^6+\frac {45}{7} a^2 b^8 x^7+\frac {5}{4} a b^9 x^8+\frac {b^{10} x^9}{9} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \frac {(a+b x)^{10}}{x^2} \, dx &=\int \left (45 a^8 b^2+\frac {a^{10}}{x^2}+\frac {10 a^9 b}{x}+120 a^7 b^3 x+210 a^6 b^4 x^2+252 a^5 b^5 x^3+210 a^4 b^6 x^4+120 a^3 b^7 x^5+45 a^2 b^8 x^6+10 a b^9 x^7+b^{10} x^8\right ) \, dx\\ &=-\frac {a^{10}}{x}+45 a^8 b^2 x+60 a^7 b^3 x^2+70 a^6 b^4 x^3+63 a^5 b^5 x^4+42 a^4 b^6 x^5+20 a^3 b^7 x^6+\frac {45}{7} a^2 b^8 x^7+\frac {5}{4} a b^9 x^8+\frac {b^{10} x^9}{9}+10 a^9 b \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 115, normalized size = 1.00 \begin {gather*} -\frac {a^{10}}{x}+45 a^8 b^2 x+60 a^7 b^3 x^2+70 a^6 b^4 x^3+63 a^5 b^5 x^4+42 a^4 b^6 x^5+20 a^3 b^7 x^6+\frac {45}{7} a^2 b^8 x^7+\frac {5}{4} a b^9 x^8+\frac {b^{10} x^9}{9}+10 a^9 b \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 110, normalized size = 0.96
method | result | size |
default | \(-\frac {a^{10}}{x}+45 a^{8} b^{2} x +60 a^{7} b^{3} x^{2}+70 a^{6} b^{4} x^{3}+63 a^{5} b^{5} x^{4}+42 a^{4} b^{6} x^{5}+20 a^{3} b^{7} x^{6}+\frac {45 a^{2} b^{8} x^{7}}{7}+\frac {5 a \,b^{9} x^{8}}{4}+\frac {b^{10} x^{9}}{9}+10 a^{9} b \ln \left (x \right )\) | \(110\) |
risch | \(-\frac {a^{10}}{x}+45 a^{8} b^{2} x +60 a^{7} b^{3} x^{2}+70 a^{6} b^{4} x^{3}+63 a^{5} b^{5} x^{4}+42 a^{4} b^{6} x^{5}+20 a^{3} b^{7} x^{6}+\frac {45 a^{2} b^{8} x^{7}}{7}+\frac {5 a \,b^{9} x^{8}}{4}+\frac {b^{10} x^{9}}{9}+10 a^{9} b \ln \left (x \right )\) | \(110\) |
norman | \(\frac {-a^{10}+\frac {1}{9} b^{10} x^{10}+\frac {5}{4} a \,b^{9} x^{9}+\frac {45}{7} a^{2} b^{8} x^{8}+20 a^{3} b^{7} x^{7}+42 a^{4} b^{6} x^{6}+63 a^{5} b^{5} x^{5}+70 a^{6} b^{4} x^{4}+60 a^{7} b^{3} x^{3}+45 a^{8} b^{2} x^{2}}{x}+10 a^{9} b \ln \left (x \right )\) | \(114\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 109, normalized size = 0.95 \begin {gather*} \frac {1}{9} \, b^{10} x^{9} + \frac {5}{4} \, a b^{9} x^{8} + \frac {45}{7} \, a^{2} b^{8} x^{7} + 20 \, a^{3} b^{7} x^{6} + 42 \, a^{4} b^{6} x^{5} + 63 \, a^{5} b^{5} x^{4} + 70 \, a^{6} b^{4} x^{3} + 60 \, a^{7} b^{3} x^{2} + 45 \, a^{8} b^{2} x + 10 \, a^{9} b \log \left (x\right ) - \frac {a^{10}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.24, size = 114, normalized size = 0.99 \begin {gather*} \frac {28 \, b^{10} x^{10} + 315 \, a b^{9} x^{9} + 1620 \, a^{2} b^{8} x^{8} + 5040 \, a^{3} b^{7} x^{7} + 10584 \, a^{4} b^{6} x^{6} + 15876 \, a^{5} b^{5} x^{5} + 17640 \, a^{6} b^{4} x^{4} + 15120 \, a^{7} b^{3} x^{3} + 11340 \, a^{8} b^{2} x^{2} + 2520 \, a^{9} b x \log \left (x\right ) - 252 \, a^{10}}{252 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 117, normalized size = 1.02 \begin {gather*} - \frac {a^{10}}{x} + 10 a^{9} b \log {\left (x \right )} + 45 a^{8} b^{2} x + 60 a^{7} b^{3} x^{2} + 70 a^{6} b^{4} x^{3} + 63 a^{5} b^{5} x^{4} + 42 a^{4} b^{6} x^{5} + 20 a^{3} b^{7} x^{6} + \frac {45 a^{2} b^{8} x^{7}}{7} + \frac {5 a b^{9} x^{8}}{4} + \frac {b^{10} x^{9}}{9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.08, size = 110, normalized size = 0.96 \begin {gather*} \frac {1}{9} \, b^{10} x^{9} + \frac {5}{4} \, a b^{9} x^{8} + \frac {45}{7} \, a^{2} b^{8} x^{7} + 20 \, a^{3} b^{7} x^{6} + 42 \, a^{4} b^{6} x^{5} + 63 \, a^{5} b^{5} x^{4} + 70 \, a^{6} b^{4} x^{3} + 60 \, a^{7} b^{3} x^{2} + 45 \, a^{8} b^{2} x + 10 \, a^{9} b \log \left ({\left | x \right |}\right ) - \frac {a^{10}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.12, size = 109, normalized size = 0.95 \begin {gather*} \frac {b^{10}\,x^9}{9}-\frac {a^{10}}{x}+45\,a^8\,b^2\,x+\frac {5\,a\,b^9\,x^8}{4}+10\,a^9\,b\,\ln \left (x\right )+60\,a^7\,b^3\,x^2+70\,a^6\,b^4\,x^3+63\,a^5\,b^5\,x^4+42\,a^4\,b^6\,x^5+20\,a^3\,b^7\,x^6+\frac {45\,a^2\,b^8\,x^7}{7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________